from django.contrib import admin
from django.urls import path
from . import views

urlpatterns = [
    path('register/', views.register, name='register'),
    path('login/', views.login, name='login'),
    path('person/', views.user_center, name='person'),
    path('edit/', views.user_edit, name='edit'),
    path('logout/', views.logout, name='logout'),
    # path('upload-avatar/', views.upload_avatar, name='upload_avatar'),
    path('coll/', views.coll, name='coll_list'),
    path('view/history/', views.view_history, name='view_history'),
    path('del/action/<int:ac_id>/', views.del_action, name='del_action'),
    path('author/<int:author_id>/', views.author_profile, name='author_profile'),
]